<template>
  <el-scrollbar style="height: 100%" class="opration-container">
    <div class="opration">
      <div class="oprationLeft">
        <bs-add-button-icon @click.native="doAdd" v-has="'TAG_TAG_SAVE'"></bs-add-button-icon>
        <bs-delete-button-icon @click.native="doDel" v-has="'TAG_TAG_DELETE'"></bs-delete-button-icon>
        <bs-edit-button-icon @click.native="doEdit" v-has="'TAG_TAG_UPDATE'"></bs-edit-button-icon>
        <bs-refresh-button-icon @click.native="doList"></bs-refresh-button-icon>
      </div>
    </div>
  </el-scrollbar>
</template>
<script>
import ScreenApi from '@/api/screen'

export default {
    name: 'SetTagCondition',
    data() {
        return {
        }
    },
    mounted() {
        this.$nextTick(function() {
        })
    },
    methods: {
      // 查询
      doList() {
        this.$message.success('刷新成功')
        this.$eventBus.$emit('doList', {page : 1})
      },
      doAdd() {
        this.$emit('add')
      },
      doEdit() {
        this.$emit('edit')
      },
      doDel() {
        this.$emit('delete')
      }
    }
}
</script>